export const tableOption = {
  searchMenuSpan: 6,
  columnBtn: false,
  border: true,
  selection: true,
  index: false,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  menuWidth: 350,
  align: 'center',
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '产品名字',
    prop: 'prodName',
    search: true
  }, {
    label: '商品原价',
    prop: 'oriPrice'
  }, {
    label: '商品现价',
    prop: 'price'
  }, {
    label: '商品库存',
    prop: 'totalStocks'
  }, {
    label: '产品图片',
    prop: 'pic',
    type: 'upload',
    width: 150,
    listType: 'picture-img'

  }, {
    label: '状态',
    prop: 'status',
    type: 'radio',
    search: true,
    value: 0,
    dicData: [{
      label: '上架',
      value: 1
    }, {
      label: '下架',
      value: 0
    }]
  },{
    label: '排序',
    prop: 'softNum'
  }, {
    width: 150,
    label: '产品分组',
    prop: 'tagId',
    search: true,
    hide:true,
    type: 'select',
    dicData: [

    ]
  },
  {
    width: 150,
    label: '产品分类',
    prop: 'categoryId',
    search: true,
    hide:true,
    type: 'cascader',
    dicData: [

    ]
  },{
      width: 150,
      label: '供应商',
      prop: 'supplierId',
      hide:true,
    },{
      width: 150,
      label: '供应商SKU',
      prop: 'supplierSkuId',
      hide:true,
    },

  // {
  //   width: 150,
  //   label: '产品分类',
  //   prop: 'prodId',
  //   search: true,
  //   type: 'select',
  //   dicData: [

  //   ]
  // },
  ],
}


